package com.blackline.UI.REPORTS;

import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.ui.Select;

public class SchedulePrompts {
	/**
	 * Schedule Report button
	 */
	@FindBy(css = "#tbibFiltersScheduleReport > div.webcontrols_toolbar_text.core_clearfix")
	public WebElement Schedule_Report_button;
	
	/**
	* Save Scheduled Report button in My Scheduled Reports Node
	*/
	@FindBy(css = "#tbibFiltersSaveSchedule > div.webcontrols_toolbar_text.core_clearfix")
	public WebElement Save_Report_button;

	
	/**
	 * Cancel button
	 */
	@FindBy(css = "#tbibFiltersCancel > div.webcontrols_toolbar_text.core_clearfix")
	public WebElement Cancel_button;
	
	/**
	 * Schedule Name text
	 */
	//@FindBy(xpath = "//div[@class='webcontrols_toolbar_icon_save core_clearfix']")
	@FindBy(id = "schduleName")
	public WebElement Schedule_Name_Text;
	
	
	/**
	 * End date text
	 */
	@FindBy(id = "ctl00_ctl00_contentBody_cphMain_promptWindow_promptModal_rdpEndDate_dateInput_text")
	public WebElement Schedule_End_Date_Text;
	/**
	 * Start date text
	 */
	@FindBy(id = "ctl00_ctl00_contentBody_cphMain_promptWindow_promptModal_rdpStartDate_dateInput_text")
	public WebElement Schedule_Start_Date_Text;
	
	
	/***
	 * drop down list for group
	 */
	@FindBy(id="groupsPrompt")
	public WebElement group_Scheduleprompt_DropDownList;
	
	
	
	
	/***
	 * drop down list for period
	 */
	
	@FindBy(xpath=".//*[@id='ctl00_ctl00_contentBody_cphMain_promptWindow_promptModal_periods_periodsDropDown']")
	public WebElement Schedule_Period_DropdownList;
	
	/***
	 * drop down list for entity
	 */
	@FindBy(xpath=".//*[@id='ctl00_ctl00_contentBody_cphMain_promptWindow_promptModal_entity_ctl00_Arrow']")
	public WebElement Schedule_Entity_DropdownListarrow;
	
	/***
	 * drop down list for plus sign 
	 */
	
	
	
	
	@FindBy(xpath=".//*[@id='ctl00_ctl00_contentBody_cphMain_promptWindow_promptModal_entity_ctl00_i0_entity_tree']/ul/li/ul/li[2]/div/span[2]']")
	public WebElement PlusUPSinSchedule_Entity_button;
	
	/***
	 * drop down list for entity elements 
	 * 
	 */
	
	@FindBy(xpath=".//*[@id='ctl00_ctl00_contentBody_cphMain_promptWindow_promptModal_entity_ctl00_i0_entity_tree']/ul/li/ul/li[2]/ul/li[3]/div/span[3]']")
	public WebElement UPSDOMESTICinSchedule_Entity_DropdownList;
	
	
	
	/***
	 * drop down list for Team
	 */
	
	@FindBy(xpath=".//*[@id='ctl00_ctl00_contentBody_cphMain_promptWindow_promptModal_team_team_typeAhead_Arrow']")
	public WebElement Schedule_Team_DropdownListarrow;
	/***
	 * drop down list for Team input 
	 */
	
	@FindBy(xpath=".//*[@id='ctl00_ctl00_contentBody_cphMain_promptWindow_promptModal_team_team_typeAhead_Input']")
	public WebElement Schedule_Team_DropdownListinput;
	
	
	
	/***
	 * drop down list for entity elements input 
	 * 
	 */
	@FindBy(xpath=".//*[@id='ctl00_ctl00_contentBody_cphMain_promptWindow_promptModal_entity_entity_typeAhead_Input']")
	public WebElement Schedule_Entity_DropdownListinput;
	
	

	/***
	 * link to change view to expanded or compressed one  for entity
	 */
	@FindBy(xpath=".//*[@id='promptsContainer']/ol/li[4]/div[2]/table/tbody/tr/td[4]/img")
	public WebElement Schedule_entityview_link;
	
	/***
	 * link to change view to expanded or compressed one  for Team
	 * 
	 */
	
	@FindBy(xpath=".//*[@id='promptsContainer']/ol/li[5]/div[2]/table/tbody/tr/td[2]/img")
	public WebElement Schedule_teamview_link;
	/***
	 * random click on the page 
	 * 
	 */
	
	@FindBy(xpath=".//*[@id='promptsContainer']/ol")
	public WebElement Schedule_report_control;
	
	
	
	}


